import { getImgTem } from '@/config/login'
export default defineComponent({
  name: 'getImg',
  setup() {
    const url = ref<string>(
      'https://fuss10.elemecdn.com/a/3f/3302e58f9a181d2509f3dc0fa68b0jpeg.jpeg'
    )
    return () => (
      <div class="demo-image__preview">
        <el-image
          style="width: 100px; height: 100px"
          src={url.value}
          zoom-rate={1.2}
          preview-src-list={getImgTem}
          initial-index={4}
          fit="cover"
        />
      </div>
    )
  }
})
